﻿using System;
using ProjScan.Config;
using ProjScan.Config.GUIConfig;
using ProjScan.Modules;
using ProjScan.Tools;
using UnityEngine;

namespace ProjScan.ScanGUI.Page
{
	// Token: 0x02000271 RID: 625
	internal class ShaderAnalysisPage : BasePage<ShaderAnalysisConfig>
	{
		// Token: 0x060010BE RID: 4286 RVA: 0x0000834E File Offset: 0x0000654E
		public ShaderAnalysisPage()
		{
			this.pageId = "Shader_Analysis";
			this.pageName = "Shader分析";
			this.fixModule = Module.Shader_Fix;
		}

		// Token: 0x060010BF RID: 4287 RVA: 0x00008376 File Offset: 0x00006576
		public override void Init()
		{
			this.dicRuleInfo = Singleton<RuleInfoManager>.Instance.dicRuleInfoByPage["8"];
			this.CreateRuleGUI();
		}

		// Token: 0x060010C0 RID: 4288 RVA: 0x0000839A File Offset: 0x0000659A
		public override void OnGUI(Rect mainRectangle)
		{
			this.rect = mainRectangle;
			this.GUITitle(false);
		}
	}
}
